﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctrGalleryList.ascx.cs" Inherits="Controls_Galleries_ctrGalleryList" %>
<%@ Register Namespace="ASPnetControls" Assembly="ASPnetPagerV2_8" TagPrefix="cc" %>

<div>
<%--<uc1:ctrGalleryNavigator ID="ctrGalleryNavigator1" runat="server" />--%>
</div>
<div style="padding:5px 0px 5px 0px; text-transform:uppercase ">
    <h2 ><asp:Label ID="lblCategoryName" runat="server"></asp:Label></h2>
</div>
<div style ="padding-bottom:20px"><%--
<asp:Image runat="server" ID="imgImage" Width="670px" BorderWidth="1px" BorderColor="gray" CssClass="entry-image"/>

--%>
<asp:Repeater ID="rptSlider" runat="server"
        onitemdatabound="rptSlider_ItemDataBound" >
        <ItemTemplate>
            <asp:Image runat="server" ID="imgImage" Width="670px" BorderWidth="1px" BorderColor="gray" CssClass="entry-image"/>
        </ItemTemplate>
    </asp:Repeater>


</div>
<div >
<asp:Repeater ID="rptGallery" runat="server" OnItemDataBound="rptGallery_ItemDataBound"
        OnItemCommand="rptGallery_ItemCommand">
        <ItemTemplate>
            <div style="float:left; margin:0 20px 20px 0; width:670px">
                <table>
                    <tr>
                        <td style="padding-right:10px"> <asp:ImageButton runat="server" ID="imgImage" CommandName="image"
                                    Width="200px" BorderWidth="1px" BorderColor="gray" CssClass="entry-image"/></td>
                        <td style="vertical-align:top">
                        <h3><asp:HyperLink ID="lnkGallery" runat="server" ></asp:HyperLink></h3>
                        </td>
                    </tr>
                </table>
               
            </div>
        </ItemTemplate>
    </asp:Repeater>

</div>
<div id="tblWarning" runat="server"  align="center" style="border:1px solid #A0A1A0; height: 25px; padding-top:5px;">
    <asp:Label ID="lblWarning" runat="server"  ForeColor="black" Font-Bold="true"     ></asp:Label>
</div>
<cc:PagerV2_8 ID="Pager" runat="server" OnCommand="Pager_Command" BackToFirstClause="to First Page" BackToPageClause="Back to Page" 
CompactModePageCount="0" CurrentIndex="1" FirstClause="&lt;&lt;" FromClause="From" GenerateFirstLastSection="False" GenerateGoToSection="False" 
GenerateHiddenHyperlinks="False" GeneratePagerInfoSection="True" GenerateSmartShortCuts="True" GenerateToolTips="True" GoClause="go"
GoToLastClause="to Last Page" ItemCount="0" LastClause="&gt;&gt;" MaxSmartShortCutCount="6" NextClause="&gt;" NextToPageClause="Gå til side" 
NormalModePageCount="15" OfClause="av" PageClause="Side" PreviousClause="&lt;" QueryStringParameterName="pagerControlCurrentPageIndex" 
RTL="False" ShowingResultClause="Viser" ShowResultClause="Viser" SmartShortCutRatio="3" SmartShortCutThreshold="30" ToClause="til" />